package com.itheima.sc.pojo.ums;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

@TableName( value ="ums_admin_role_relation" )
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UmsAdminRoleRelation  implements Serializable {

	private static final long serialVersionUID =  5099259394484896960L;

   	@TableId(type = IdType.AUTO)
	private Long id;

   	@TableField( "admin_id" )
	private Long adminId;

   	@TableField( "role_id" )
	private Long roleId;

}
